Index
A B C D E G H I M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- Game - Class in edu.uky.ai.tic
-
Plays a game of Tic Tac Toe and measures how many moves each player considers during the game.
- Game(Bot, Bot) - Constructor for class edu.uky.ai.tic.Game
-
Constructs and plays a game of Tic Tac Toe.
- GameTree - Class in edu.uky.ai.tic.ai
-
A game tree is a representation of all the possible states that could occur during the play of game and how one state is reached from another.
- GameTree(Move, State, GameTree) - Constructor for class edu.uky.ai.tic.ai.GameTree
-
Constructs a new game tree with a current state that resulted from taking a given move.
- GameTree(State) - Constructor for class edu.uky.ai.tic.ai.GameTree
-
Constructs a new game tree with some initial state as the root.
- getAvailableMoves() - Method in class edu.uky.ai.tic.state.State
-
Returns a set of all the next moves that can be made in the game.
- getCurrentPlayer() - Method in class edu.uky.ai.tic.state.State
-
Returns the player whose turn it is to move next.
- getNextChild() - Method in class edu.uky.ai.tic.ai.GameTree
-
Constructs and returns the next child node of this node.
- getSquare(int, int) - Method in class edu.uky.ai.tic.state.State
-
Returns the mark at the given row and column of the grid.
- getWinner() - Method in class edu.uky.ai.tic.state.State
-
Returns the winner, if one has been determined.
All Classes All Packages